package com.wnn.demo.domain;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Data
@Component
public class Accessory implements Serializable {
	private static final long serialVersionUID = -255581429783276494L;

	//	附件id
	@Id
	@ApiModelProperty(value = "附件id", name = "id", dataType = "String")
	private String id;


	/** 关联表的id*/
	@ApiModelProperty(value = "关联表的id", name = "accessoryId", dataType = "String")
	private String accessoryId;

	/** 附件地址（验收相关附件）*/
	@ApiModelProperty(value = "图片路径", name = "filePath", dataType = "String")
	private String filePath;

	/** 附件名称*/
	@ApiModelProperty(value = "图片路径", name = "filePath", dataType = "String")
	private String fileName;

	/** 附件大小*/
	@ApiModelProperty(value = "附件大小", name = "fileSize", dataType = "String")
	private String fileSize;

	/** 附件类型*/
	@ApiModelProperty(value = "附件类型", name = "fileType", dataType = "String")
	private String fileType;

	/** 附件状态0失效1有效*/
	private Integer fileStatus;

	private Integer status;

	//	创建时间
	private Date createTime;

	//	修改时间
	private Date updateTime;

	//   是否已删除
	private Integer isDeleted;
}
